#!/usr/bin/env bash
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
common_setup
cd "$common_root_dir"
outfile="${common_out_dir}/lkmc-${common_sha}.zip"
rm -f "$outfile"
for common_arch in x86_64 arm aarch64; do
  common_setup
  zip -r "$outfile" "${common_qcow2_file#${common_root_dir}/}" "${common_linux_image#${common_root_dir}/}"
done
